package cn.stylefeng.guns.modular.school.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 行程预约信息
 * </p>
 *
 * @author 
 * @since 2020-04-12
 */
@Data
@TableName("thesis_trip_order_info")
public class TripOrderInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 行程ID
     */
    @TableField("trip_id")
    private Integer tripId;

    /**
     * open id
     */
    @TableField("open_id")
    private String openId;

    /**
     * 登录账户名称
     */
    @TableField("account")
    private String account;
    @TableField("pay_flag")
    private String payFlag;

    /**
     * 预定日期
     */
    @TableField("order_date")
    private Date orderDate;
    @TableField("score")
    private int score;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTripId() {
        return tripId;
    }

    public void setTripId(Integer tripId) {
        this.tripId = tripId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    @Override
    public String toString() {
        return "TripOrderInfo{" +
        "id=" + id +
        ", tripId=" + tripId +
        ", openId=" + openId +
        ", account=" + account +
        ", orderDate=" + orderDate +
        "}";
    }
}
